<?php
$this->pageTitle='Encode URL Online';
$this->breadcrumbs=array(
	'Encode URL',
);
?>
<br>
<h3>URL Encoder</h3>
<p><small>Encode a piece of text to its URL equivalent</small></p>
<br>

<div class="span6 offset1">
<?php $form=$this->beginWidget('CActiveForm'); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<strong><?php echo $form->labelEx($model,'input'); ?></strong>
		<?php echo CHtml::activeTextArea($model,'input'); ?>
	</div>
 
	<div class="row submit">
		<?php echo CHtml::submitButton('Encode', array('class'=>'btn btn-danger btn-lg')); ?>
	</div>

<?php $this->endWidget(); ?>
	<div class="row">
		<strong><?php echo $form->labelEx($model,'result'); ?></strong>
		<?php echo CHtml::activeTextArea($model,'result'); ?>
	</div>
 

</div>

